package br.edu.ufcg.lsd.wbis.ui.client.services;

import br.edu.ufcg.lsd.wbis.ui.client.beans.UserInfo;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * @author Renato Miceli
 */
@RemoteServiceRelativePath("SETUP_SERVICE")
public interface SetupService extends RemoteService {

	public static class Util {

		public static SetupServiceAsync getInstance() {

			return GWT.create(SetupService.class);
		}
	}

	public void forbidRootCreation();
	
	public UserInfo createRootUser(UserInfo info);

}
